@color: #9AA8B3;


.project {
  display: flex;
  flex-direction: column;
  max-width: calc(48vw - 64px);
  min-width: 360px;
  height: 50px;
  margin: 0 auto;
  margin-bottom: 24px;
  overflow: hidden;

  .swiper {
    position: relative;
    flex: 1;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    padding-left: 6px;

    &::before {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 99;
      width: 2px;
      height: 100%;
      background: var(--color);
      content: '';
      pointer-events: none;
    }

    &::after {
      position: absolute;
      top: 0;
      right: 0;
      z-index: 99;
      width: 2px;
      height: 100%;
      background: var(--color);
      content: '';
      pointer-events: none;
      //color:rgba(255, 72, 0, 0.515)
    }
  }

  .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: content-box !important;
    width: 42px;
    height: 42px;
    overflow: hidden;
    font-size: 18px;
    text-align: center;
    border-radius: 12px;
    border-radius: 12px;
    cursor: pointer;
    user-select: none;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .collection {
    display: flex;
    flex-shrink: 0 !important;
    align-items: center;
    justify-content: center;
    box-sizing: content-box !important;
    width: 42px;
    height: 42px;
    font-size: 30px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s;


    section {
      /* background: #dce7eb; */
      width: 200%;
      height: 100%;
      display: flex;
      align-items: center;
      padding-top: 6px;
    }


    .sampah {
      background: @color;
      width: 66px;
      height: 80px;
      display: inline-block;
      margin: 0 auto;
      transform: scale(0.24);
      position: relative;
      border-bottom-right-radius: 6px;
      border-bottom-left-radius: 6px;
      -moz-border-radius-bottomright: 6px;
      -moz-border-radius-bottomleft: 6px;
      border-bottom-right-radius: 6px;
      border-bottom-left-radius: 6px;
    }

    .sampah span {
      position: absolute;
      height: 12px;
      background: @color;
      top: -19px;
      left: -10px;
      right: -10px;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      transform: rotate(0deg);
      transition: transform 250ms;
      transform-origin: 19% 100%;
    }

    .sampah span::after {
      content: '';
      position: absolute;
      width: 27px;
      height: 7px;
      background: @color;
      top: -10px;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      transform: rotate(0deg);
      transition: transform 250ms;
      transform-origin: 19% 100%;
      left: 27px;
    }


    .sampah i {
      position: relative;
      width: 5px;
      height: 50px;
      background: var(--bgc);
      display: block;
      margin: 14px auto;
      border-radius: 5px;
    }

    .sampah i::after {
      content: '';
      width: 5px;
      height: 50px;
      background: var(--bgc);
      position: absolute;
      left: -18px;
      border-radius: 5px;
    }

    .sampah i::before {
      content: '';
      width: 5px;
      height: 50px;
      background: var(--bgc);
      position: absolute;
      right: -18px;
      border-radius: 5px;
    }

    &:hover {
      .sampah span {
        transform: rotate(-45deg);
        transition: transform 250ms;
      }
    }
  }

}
.griders{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  width: 100%;
  overflow: hidden;

  >div{
    display: flex;
    align-items: center;
    border-radius: 6px;
    cursor: pointer;
    gap: 8px;
    padding: 10px 12px;

    span{
      font-size: 12px;
    }
  }
}

.animatedbg{
  animation: shadowmove 8s linear infinite alternate;
}

@keyframes shadowmove {
  0% {
    box-shadow: -25px -15px 85px 2px var(--color);
  }
  20% {
    box-shadow: 35px 0px 85px 2px var(--color);
  }
  40% {
    box-shadow: 125px 30px 85px 2px var(--color);
  }
  60% {
    box-shadow: 188px 0 85px 2px var(--color);
  }
  80% {
    box-shadow: 125px -15px 85px 2px var(--color);
  }
  100% {
    box-shadow: 35px 30px 85px 0 var(--color);
  }
}